<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>uload_form.jsp</title>
<script>
function getId(id){return document.getElementById(id)}
function init(){
	getId("btnlist").onclick = function(){
		location.href='MyHome.jsp?inc_content=./databank/list.jsp';
	}
}
</script>
</head>

<body>
<center>
<form action="MyHome.jsp?inc_content=./databank/upload_result.jsp" method='post' enctype='multipart/form-data'>
<table border=1>
	<tr>
		<td colspan=2 align=center><h3>파일 업로드 폼</h3></td>
	<tr>
		<td>작성자:</td><td><input type='search' name='mid'></td><br>
	</tr>
	<tr>
		<td>제목 :</td><td><input type='search' name='subject'></td><br>
	</tr>
	<tr>
		<td>내용:</td><td><textarea name='content' rows='8' cols='68' name='content'></textarea></td><br>
	</tr>
	<tr>
		<td>파일명:</td><td><input type='file' name='filename'></td><p/>
	</tr>
	<tr>
		<td>암호:</td><td><input type='password' name='pwd'></td><p/>
	</tr>
	<tr>
		
		<td colspan=2 align=center>
			<input type='button' value='목록' id='btnlist'>
			<input type='submit' value='전송'>
		</td>
	</tr>
		
</table>

</form>
</center>
<script>init();</script>

</body>
</html>